<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
   <head>
      <title><%=@page_title||'Hamster'%></title>
      <%= javascript_include_tag :defaults %>
      <%= theme_stylesheet_link_tag 'default' %>
   </head>
   <body>

     <div id="header">
       <img src=""/>
       <p>
         <%=@page_title|| 'Hamster'%>
       </p>
     </div>

     <div id="main">

    <% for name in [:notice, :warning, :message] %>
      <% if flash[name] %>
         <%= "<div id=\"#{name}\">#{flash[name]}</div>" %>
      <% end %>
    <% end %>

       <div id="sidebar">
          <%= link_to_remote _("Manage Agent"),{  :url =>{  :controller => 'agent', :action => 'list'} }, {  :id => 'link_to_agent'}%>
            <%= link_to '&#171; logout', :action => 'logout' %>

       </div>

       <div id="content">

         <%=@content_for_layout%>
       </div>

     </div>

     <div id="footer">
       <p>Copyright@</p>
     </div>


   </body>
</html>
